package com.zr._01_creation6._02_factoryMethod;

import com.zr._01_creation6._02_factoryMethod.factory.LoggerFactory;
import com.zr._01_creation6._02_factoryMethod.factory.impl.DataBaseLoggerFactory;
import com.zr._01_creation6._02_factoryMethod.product.Logger;

public class TestClient {

    public static void main(String[] args) {
        LoggerFactory factory;
        Logger logger;

        factory = new DataBaseLoggerFactory();
        logger = factory.produce();
        logger.write();
    }

}
